package com.nlp.visualization.pojo.NLP.seg;

import java.util.ArrayList;
import java.util.List;

/**
 * 普通的分词返回实体
 */
public class SegmentEntity {

    private int status;
    private String version;
    private List<Results> results;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public List<Results> getResults() {
        return results;
    }

    public void setResults(List<Results> results) {
        this.results = results;
    }

    public SegmentEntity() {

        results = new ArrayList<>();
    }

    public static class Results {


        private int sentenceId;
        private String text;
        private List<Items> items;

        public int getSentenceId() {
            return sentenceId;
        }

        public void setSentenceId(int sentenceId) {
            this.sentenceId = sentenceId;
        }

        public String getText() {
            return text;
        }

        public void setText(String text) {
            this.text = text;
        }

        public List<Items> getItems() {
            return items;
        }

        public void setItems(List<Items> items) {
            this.items = items;
        }

        public Results() {
            items = new ArrayList<>();
        }

        public static class Items {

            private int id;
            private int byte_length;
            private String formal;
            private String item;
            private String ne;
            private String pos;
            private String uri;
            private List<String> basic_words;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getByte_length() {
                return byte_length;
            }

            public void setByte_length(int byte_length) {
                this.byte_length = byte_length;
            }

            public String getFormal() {
                return formal;
            }

            public void setFormal(String formal) {
                this.formal = formal;
            }

            public String getItem() {
                return item;
            }

            public void setItem(String item) {
                this.item = item;
            }

            public String getNe() {
                return ne;
            }

            public void setNe(String ne) {
                this.ne = ne;
            }

            public String getPos() {
                return pos;
            }

            public void setPos(String pos) {
                this.pos = pos;
            }

            public String getUri() {
                return uri;
            }

            public void setUri(String uri) {
                this.uri = uri;
            }

            public List<String> getBasic_words() {
                return basic_words;
            }

            public void setBasic_words(List<String> basic_words) {
                this.basic_words = basic_words;
            }

            public Items() {
                basic_words = new ArrayList<>();
            }
        }
    }
}
